package com.mls.fivedistrict.server;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.mls.fivedistrict.pojo.VoteOption;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 投票选项 服务类
 * </p>
 *
 * @author Five Team
 * @since 2018-05-15
 */
public interface VoteOptionService extends IService<VoteOption> {


    VoteOption selectAndVoteById(Long voteOptionId);

    List<VoteOption> selectListAndVoteOption(Wrapper wrapper);

    int addJoinCount(Long voteOptionId);
}
